import React from "react";
import { Input, Button, List } from "antd";


function TodoList(props) {
  // console.log(store.getState())
  console.log(props)
  // const { inputValue, list } = props
  
  return (
    <div style={{margin: '10px'}}>
      <div>
        <Input
          placeholder='6666' style={{ width: "250px" }} />
        <Button type="primary">增加</Button>
      </div>
      <div style={{margin:'10px',width:'300px'}}>
      <List
        bordered
        dataSource={[]}
        renderItem={item=>(<List.Item>{item}</List.Item>)}
      />    
    </div>
    </div>
  );
}

export default TodoList;
